<script>
    import { prefixCls } from '../prefix'
    import TreeSelect from '@riophae/vue-treeselect'
    import '@riophae/vue-treeselect/dist/vue-treeselect.css'
    export default {
        name: `${prefixCls}TreeSelect`,
        extends: TreeSelect,
        props: {
            limitText: {
                type: Function,
                default: function limitTextDefault(count) {
                    return `+${count}`
                },
            },
            noChildrenText: {
                type: String,
                default: '没有子选项...'
            },
            noOptionsText: {
                type: String,
                default: '没有可用选项...'
            },
            noResultsText: {
                type: String,
                default: '没有匹配的搜索结果...'
            },
            loadingText: {
                type: String,
                default: '数据加载中...'
            }
        }
    }
</script>

<style scoped>

</style>
